import pickle
file_path = './file/text.txt'
with open(file_path,'rb') as f:
    my_dict=pickle.load(f)
    print(my_dict)
    print(type(my_dict))